Control Part Code Constants
The Mac OS 8.5 Control Manager defines the following new
control part code constants. You can use control part codes with various functions to identify control parts. For details on other control part code constants, see
Mac OS 8 Control Manager Reference
.
enum {
kControlClockHourDayPart = 9,
kControlClockMinuteMonthPart = 10,
kControlClockSecondYearPart = 11,
kControlClockAMPMPart = 12,
kControlStructureMetaPart = -1,
kControlContentMetaPart = -2
};
Constant descriptions
-
kControlClockHourDayPart
-
Identifies the part of a clock control that contains the hour or the day.
-
kControlClockMinuteMonthPart
-
Identifies the part of a clock control that contains the minute or the month.
-
kControlClockSecondYearPart
-
Identifies the part of a clock control that contains the second or the year.
-
kControlClockAMPMPart
-
Identifies the part of a clock control that contains the AM/PM information.
-
kControlStructureMetaPart
-
Identifies the entire region occupied by a control. The
kControlStructureMetaPart
constant is for use only with
GetControlRegion
.
-
kControlContentMetaPart
-
Identifies the area of a control in which other controls may be embedded; this region is only defined for controls that can be embedders. The
kControlContentMetaPart
constant is for use only with
GetControlRegion
.
© 1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)